// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import '../static/css/main.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import axios from 'axios'
import elTableInfiniteScroll from 'el-table-infinite-scroll'
import Vuex from 'vuex'
import store from './store/index'
import 'animate.css'
import Swiper from 'swiper'
import 'swiper/dist/css/swiper.css'
// import 'swiper/dist/js/swiper.min.js'

import {
  Slider
} from 'element-ui'
Vue.use(ElementUI)
Vue.use(Slider)

Vue.config.productionTip = false
Vue.prototype.$axios = axios
// axios.defaults.baseURL = 'http://127.0.0.1:8000'
// axios.defaults.baseURL = 'http://121.4.151.195:8000/'


Vue.use(elTableInfiniteScroll)
Vue.use(Vuex)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: {
    App,
  },
  template: '<App/>',
  // template: '<PlayList/>',
  store
})
